package com.infore.common.datasource;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Discription hikari数据源使用
 * @Autor lijianhua
 * @Date 2023/11/5 9:46
 */
@Component
@ConfigurationProperties(prefix = "spring.datasource.hikari")
@Data
public class DBProperties {
    private HikariDataSource dataMaintain;
    private HikariDataSource dataExchange;
    private HikariDataSource quartzData;
    private HikariDataSource statisticsData;
}
